<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap" style="height: 700px">
    <ul class="nav nav-tabs">
        <li class="active"><a href="">来信列表</a></li>
    </ul>
    <div class="pagination">处理信件总数 ：{$count} </div>
    <table class="table table-hover table-bordered" >
        <thead>
        <tr>

            <th>序号</th>
            <th>类型</th>
            <th>查询码</th>
            <th>主题</th>
            <th>是否公开</th>
            <th>提交时间</th>
            <th>转办时间</th>
            <th>结办时间</th>
            <th>受理单位</th>
            <th>解决状态</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="all" item="vo">
            <tr>
                <td>{$vo.id} </td>
                <td>{$vo.type} </td>
                <td>{$vo.findcode}</td>
                <td>
                    <a href="{:url('msg_list/getDetail')}?id={$vo.id}" >{$vo.title}</a>
                </td>
                <td>{$vo.isgongkai}</td>
                <td>{$vo.create_time|date='Y-m-d H:i',###}</td>
                <td>{$vo.zhuantime|date='Y-m-d H:i',###}</td>
                <td>
                    <switch name="$deal">
                        <case value="2">未解决</case>
                        <case value="3">{$vo.overtime|date='Y-m-d H:i',###}</case>
                        <case value="4">{$vo.overtime|date='Y-m-d H:i',###}</case>
                        <default />default
                    </switch>
                </td>
                <td>{$vo.unitname}</td>
                <td>
                    <switch name="$deal">
                        <case value="2">未解决</case>
                        <case value="3">已解决</case>
                        <case value="4">已处理</case>
                        <default />default
                    </switch>
                </td>
                <td>
                    <a href="{:url('msg_list/getDetail')}?id={$vo.id}">修改</a> |
                </td>
            </tr>

        </foreach>
        </tbody>


    </table>

</div>
<div class="pagination" style="margin-left: 25px;margin-top: 50px">{$page|default=''}
    </div>

</body>